SetBreakpointByUrlRequest

data class SetBreakpointByUrlRequest(lineNumber: Int, url: String?, urlRegex: String?, scriptHash: String?, columnNumber: Int?, condition: String?)

Represents request frame that can be used with Debugger#setBreakpointByUrl operation call.

Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads.

See also

Constructors

SetBreakpointByUrlRequest
Link copied to clipboard
fun SetBreakpointByUrlRequest(lineNumber: Int, url: String? = null, urlRegex: String? = null, scriptHash: String? = null, columnNumber: Int? = null, condition: String? = null)

Properties

columnNumber
Link copied to clipboard
val columnNumber: Int? = null
Offset in the line to set breakpoint at.
condition
Link copied to clipboard
val condition: String? = null
Expression to use as a breakpoint condition.
lineNumber
Link copied to clipboard
val lineNumber: Int
Line number to set breakpoint at.
scriptHash
Link copied to clipboard
val scriptHash: String? = null
Script hash of the resources to set breakpoint on.
url
Link copied to clipboard
val url: String? = null
URL of the resources to set breakpoint on.
urlRegex
Link copied to clipboard
val urlRegex: String? = null
Regex pattern for the URLs of the resources to set breakpoints on.

Sources

jvm source
Link copied to clipboard